<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
 <script src="/assets.php/en_US/Data,XFBML.LoginButton,XFBML.Name,XFBML.ProfilePic,XFBML.ShareButton,api,init.js"></script>
</head>
<body>
    <div id="fb-root"></div>

  <p >Show an simple XFBML usage</p>
  <fb:login-button></fb:login-button>
  <input type="button" value="log out" onclick="FB.App.logout(function(){});" />
  <div id="profile_pics"></div>

  <fb:profile-pic uid="4"></fb:profile-pic>
  <fb:name uid="4"></fb:name>
  <fb:share-button href="http://www.cnn.com" type="button_count"></fb:button>

 <script type="text/javascript">
  FB.init({
    apiKey: "4b38d3e1a6df930669e13b82e3ba8974",
    logging: true,
    status: true
  });
  FB.XFBML.parse();

  </script>


  <br />
  <p>Log</p>
  <textarea rows="50" style="width:100%; height:500px;" id="result"></textarea>
</body>
</html>
